Fixed CMake build errors with GL/Glew