Fixed deployment on mac