tests/glsl: Fix glsl OpenGL test build
tests/glut: Fix glut OpenGL test build
tests/direct_mode: Fix OpenGL direct mode test build
tests/demos: Fix OpenGL gears test build