Updated CMakeLists.txt for C++11, resolved freeglut errors