Compiling the viewer (Mac OS X)