parallel compilation

speedup compilation on multicore/multicpu machines
Merge pull request #49 from fabriziopicconi/patch-11

improved parallel compilation