Add parallel build.
Merge pull request #356 from ktf/parallel-build-pythia8

Add parallel build.