TARGET_OS_IPHONE is not undefined, but 0, when building for a Mac. DUH.