Ugly hack to avoid recompiling the same thing multiple times in parallel.