Fix #587: Allow spaces in directory names.

This only fixes `scripts/build_framework.sh`. Other scripts probably won't work if the working directory has spaces in it's path.