Fix Windows unittests.