update for mac compiler flag fix