parallel compilation

speedup compilation on multicore/multicpu machines