Revised/shortened the toolchain jenkins script

A bunch of the common build functionality has been abstracted to other
scripts, so each project's build script can be more concise.