Fixed post-build scripts to not break when the project directory contains a space