Curl check added because curl is not installed as default in various distributions
Merge pull request #31 from ilarimakela/master

Curl check added