Initial LogStream implementation

Get cmake to build on Windows