[sanitizer] Fix Mac build.