fix test_default_pkgdir on windows