Fix OpenGL version not being detected if < 3.0