Workaround for gl type definitions differing from OS X SDK 10.9 to 10.10