mac build fix