Updated build system for current development version of csbuild

Also fixed compile error in YAMLSerializer