Compiling the viewer (Mac OS X XCode 6.1)