S_ISDIR for Win