In example code, GLUT has been replaced with GLFW so that glViewer/ptexViewer can run on OSX (10.7 or later). OSX note: still have some problem with clang, may need to explicitly specify gcc on cmake cmdline -DCMAKE_CXX_COMPILE=/usr/bin/g++ fixes #98