Modified Makefile and Xcode project file to build from a fresh clone on Mavericks with Xcode 5