Fix macosx git build