check for curl

Adresses #1232