diff --git a/lib/plugin/variable-collector.js b/lib/plugin/variable-collector.js
index <HASH>..<HASH> 100644
--- a/lib/plugin/variable-collector.js
+++ b/lib/plugin/variable-collector.js
@@ -60,9 +60,9 @@ VariableCollector.prototype = {
     for (var name in this.mVariables) {
       if (this.mVariables.hasOwnProperty(name)) {
         var oVar = this.mVariables[name];
-        var dirname = path.dirname(oVar.filename);
-        var baseFileName = path.basename(oVar.rootFilename); // usually library.source.less
-        var libraryBaseFile = path.normalize(path.join(dirname, baseFileName));
+        var dirname = path.posix.dirname(oVar.filename);
+        var baseFileName = path.posix.basename(oVar.rootFilename); // usually library.source.less
+        var libraryBaseFile = path.posix.normalize(path.posix.join(dirname, baseFileName));
 
         // Only add variable if the corresponding library "base file" has been imported
         if (aImports.indexOf(libraryBaseFile) > -1 || libraryBaseFile === oVar.rootFilename) {
Changed paths in variable collector to posix variant. Since they are
already posix, it does not work on windows machines.