Further attempt to ensure that output is properly flushed in C++ integ tests on Windows