Fix client-server auto tests on Windows