Fix the Mac build