Use curl library from CMake find system

This way, crosscompiling for eg. Android is made easier. The CMake Find system will set the ${CURL_LIBRARY} variable.