Merge change 847 into donut

* changes:
  Config: Deprecate most fields, and hook into ConfigBuildFlags