Fix parallel build.
Merge pull request #483 from aitjcize/parallel

Fix parallel build.