Fix os_test on Windows.