improved concurrency for compiling tpl.