Manual merge MinGW stuff from 744376b3fbebc41c4a270bf549826d5eb9219ae0 in Moses
Uninitialized veriable
Switch filter's count output to FakeOFStream