Fix invalid dir value in build config.

Convert target_dir path config to a string to ensure json structure is
valid. Closes #165.
Merge pull request #166 from jezstephens/issue-165

Fix invalid dir value in build config.