Mac OS X specific patches.