Fix mac builds.