fix build inder mac