Fix Mac OS build.