diff --git a/src/main/java/com/github/maven_nar/NarSystemMojo.java b/src/main/java/com/github/maven_nar/NarSystemMojo.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/github/maven_nar/NarSystemMojo.java
+++ b/src/main/java/com/github/maven_nar/NarSystemMojo.java
@@ -208,7 +208,7 @@ public class NarSystemMojo
 	        builder.append(delimiter);
 	        delimiter = " else ";
 
-	        builder.append("if (ao.equals(\"").append(entry.getKey()).append("\")) {\n");
+	        builder.append("if (ao.startsWith(\"").append(entry.getKey()).append("\")) {\n");
 		    builder.append("            return new String[] {\n");
 		    String delimiter2 = "              ";
 		    for (final String aol : entry.getValue()) {
Better "Windows" OS compatibility in native-lib-loader context.

In Windows case, operating systems are started-with "Windows *". Instead of using ao.equals(), ao.startsWith() is suitable for deciding OS types in such a case.