Curl check added because curl is not installed as default in various distributions