Curl check added

Added a check for curl because curl is not installed as default in various distributions