Added Xcode project and fixed build.