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