Fix example for conditional compilation on Mac