check for curl
Merge pull request #1233 from mihneadb/curl

check for curl