Adding check for cURL in CMake

Fixes:
http://www.hyphy.org/cgi-bin/hyphy_forums/YaBB.pl?num=1380140828/0#1