tsan: fix build