Fix mac build.