Updated build on MAC to work with Xcode 5 and GIT