Fix a preprocessor in swift