[791] Add CONFIG opengl as option to disable OpenGL parts