 
 --- a/build.xml
 +++ b/build.xml
-@@ -377,6 +377,19 @@
-       <arg value="VERSION=${jni.version}"/>
+@@ -393,6 +393,19 @@
+       <arg value="JNA_JNI_VERSION=${jni.version}"/>
        <arg value="CHECKSUM=${jni.md5}"/>
      </exec>
 +    <antcall target="native-mixedjar"/>

     <mkdir dir="${classes}/com/sun/jna/${os.prefix}"/>
     <copy todir="${classes}/com/sun/jna/${os.prefix}">
       <fileset dir="${build.native}"
@@ -388,15 +401,6 @@
       <fileset dir="${build.native}"
                includes="jnidispatch.dll,libjnidispatch.*"/>
     </copy>

-    </jar>
   </target>
 
   <target name="compile-tests" depends="compile,native,jar" 
