am: Don't fail to build Mac OS X target if there is no git.