fix: rmdir was used not on Windows