core/curl: fix a broken sed command; enable libtool files since some packages require them