Make OSX makefiles match linux. Proper debug & release configurations
Fix an assumption in the GL renderer code that glDebugMessageControl is available. It's not on OSX 4.1 OpenGL.