Refactored build procedure to a separate function. Build-nightly can now
build a single project per run.