Simplify the variable define on Mac.