--- a/src/utils/pathut.cpp
+++ b/src/utils/pathut.cpp
@@ -364,6 +364,9 @@
         return is;
     }
     string s = is;
+#ifdef _WIN32
+        path_slashize(s);
+#endif
     if (!path_isabsolute(s)) {
         char buf[MAXPATHLEN];
         if (!getcwd(buf, MAXPATHLEN)) {