Try to fix test_checkdir windows compilation
Try to fix test_checkdir windows compilation more