fixed PlatformConfig and defaultConfig for Mac OS X