Massaging the build process

Preparing ground for further work on build scripts.
Ah, my first comment was to avoid doing the heredoc entirely since the current set of `echoes` works fine. Maintenance-wise, using Sublime or Atom is fine for editing multiple lines.