Fix cmd.tst on windows