gl: Fix MacOSX build