Fix glad for win32
And hopefully for osx