mac build fixed