Fix OpenGL driver to fix compilation