Fix path regexp for windows