update for mac build