Attempt to fix unit tests on Windows