diff --git a/SystemTools.cxx b/SystemTools.cxx
index 4808c1a0cf848ee76e41e097403e9903870eeca7..df3be0d587a374248e9a225b09e5454f5733c68d 100644
--- a/SystemTools.cxx
+++ b/SystemTools.cxx
@@ -1241,6 +1241,14 @@ kwsys_stl::string SystemTools::FindLibrary(const char* name,
       {
       return SystemTools::CollapseFullPath(tryPath.c_str());
       }
+    tryPath = *p;
+    tryPath += "/lib";
+    tryPath += name;
+    tryPath += ".dll";
+    if(SystemTools::FileExists(tryPath.c_str()))
+      {
+      return SystemTools::CollapseFullPath(tryPath.c_str());
+      }
 #endif
     }