Fix the build on Mac