better preprocessor statement for iOS only import