Add libcurl to external build.