Make OpenGL tests run on OS X