Simple crossplatform OpenGL template