fixes parallel template compiler to use # of cores