More OS X build hacks.