(iOS) Build fixes
(OSX) Build fix for gfx/gl.c