fix build @mac