Fix building Qt without OpenGL support on OS X