Add check on curl extension