link with libcurl