src/platform.h: Better check for iOS