(MSVC) Wrap writing to std::cerr/std::cout