fix if curl is not installed by default