Fix deploy on mac