fix regexp for windows paths