CMakeLists and FindCurl have been improved.