Fixed to look at TARGET_OS_IPHONE correctly (It's actually defined for Macs, but set to 0).