Add git support for macosx builds