make opengl optional, off by default