enhance performance of compilation by leveraging all cores