ENH: use `mkdir -p` when creating build location

Use `mkdir -p` when create build location to create
parent directories as needed.
Merge pull request #2 from gzagaris/setup-build-dir-patch

ENH: use `mkdir -p` when creating build location