Removed references to uint ushort ulong to aid porting and also hid some OSX OpenGL specfics behind a compile time define