Properly tuck import of iOS class into preprocessor 'if'