monkeypatch for running on MSWin7