Link correctly against a non-installed libcurl.

Oh, ```libtool```...