windows devices are prefixes by //./ so a plain strcmp doesn't work