fix curl-config --libs treatment