diff --git a/pom.xml b/pom.xml
index 60d4ddbb147e6437c8d811bb510321af578deed5..43845631decb8036593d9575ac2eb19b09acbcd1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,24 +6,53 @@
     <artifactId>super-pom-C-CPP-device</artifactId>
     <version>RELEASE</version>
   </parent>
+
   <groupId>fr.soleil.device</groupId>
   <artifactId>RetrigAO-${aol}-${mode}</artifactId>
   <version>1.0.4-SNAPSHOT</version>
+
   <packaging>nar</packaging>
   <name>RetrigAO</name>
 <!-- use for the name of executable -->
   <description>RetrigAO device</description>
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.freehep</groupId>
-        <artifactId>freehep-nar-plugin</artifactId>
-        <configuration>
-          <os>Windows</os>
-        </configuration>
-      </plugin>
-    </plugins>
-  </build>
+
+    <properties>
+        <D2KDASK_ROOT>${env.D2KDASK_ROOT}</D2KDASK_ROOT>
+        <PCISDASK_ROOT>${env.PCISDASK_ROOT}</PCISDASK_ROOT>
+    </properties>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.freehep</groupId>
+                <artifactId>freehep-nar-plugin</artifactId>
+                <configuration>
+                    <os>Windows</os>
+                    <cpp>
+                        <systemIncludePaths>
+                            <systemIncludePath>${D2KDASK_ROOT}/Include</systemIncludePath>
+                            <systemIncludePath>${PCISDASK_ROOT}/Include</systemIncludePath>
+                        </systemIncludePaths>
+                    </cpp>
+                    <linker>
+                        <libs>
+                            <lib>
+                                <name>D2k-Dask</name>
+                                <type>shared</type>
+                                <directory>${D2KDASK_ROOT}/Lib</directory>
+                            </lib>
+                            <lib>
+                                <name>PCI-Dask</name>
+                                <type>shared</type>
+                                <directory>${PCISDASK_ROOT}/Lib</directory>
+                            </lib>
+                        </libs>
+                    </linker>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
     <dependencies>
         <dependency>
             <groupId>edu.wustl.cse</groupId>
@@ -31,7 +60,7 @@
         </dependency>
         <dependency>
             <groupId>fr.soleil.lib</groupId>
-            <artifactId>ASL-${aol}-${library}-${mode}</artifactId>
+            <artifactId>ASL-${aol}-shared-${mode}</artifactId>
         </dependency>
     </dependencies>
   <scm>