cmGlobalGenerator: use a stream for output in `Build`

This allows output to show up in output immediately instead of being
batched.
5 files changed