quoting some potentially ugly var replacements
build script