Fix curl install compatibility