Conditional g prefix on Mac