Ensure LIBCURL_LIBS is set when not using curl-config