Try to fix test_checkdir windows compilation