fixed Mac OS X defines