Revert minimal OpenGL version to 3.1