(OSX) Add some defines for compatibility