add preprocessor macro for apple-specific gcc fix