cmGlobalGenerator: use a stream for output in `Build` This allows output to show up in output immediately instead of being batched.