Build script updates

Just a few build script improvements and some cleanup. Mainly, I noticed that gulp task streams were not returned, so task durations were reported incorrectly.