Fixing conditional usage of glut related things.