[sanitizer] Fix OSX build.