[tsan] Fix build.