Corrected CMakeLists.txt for finding OpenGL and GLUT.

Tested with cmake 2.8.7 and Ubuntu 12.04.