mac build compatibility