Adding check for cURL in CMake