Tweak build script now that Benchmark.js and Platform.js use `root` instead of `window`