remove unnecessary mkdir commands
fix multithreaded compilation race condition
Merge branch 'fix-parallel-build' into develop