Fix deploy for macosx