tsan: attempt to fix darwin build
everything except linux does not need this hackery with pthread_cond
Introduce "Analysis/TargetFolder.h" corresponding to r202832.