Fix test_config on Windows