Properly guarding GLenum usage for non-OpenGL builds