add curl pkgconfig dev file, add libtool fixes, cleanup