Fixes to be able to override output folder in build.dart

R=gram@google.com

Review URL: https://chromiumcodereview.appspot.com//16232005