Index: cmdreader/build.xml
===================================================================
--- cmdreader.orig/build.xml
+++ cmdreader/build.xml
@@ -105,7 +105,7 @@ and finally call CmdReader.of(ThatClass.
 	
 	<target name="compile" depends="ensureBuildDeps" description="Compiles program code">
 		<mkdir dir="build/prog" />
-		<javac destdir="build/prog" target="1.5" source="1.5">
+		<javac destdir="build/prog" target="1.5" source="1.5" includeantruntime="false">
 			<src path="src" />
 			<classpath refid="build.path" />
 		</javac>
@@ -113,7 +113,7 @@ and finally call CmdReader.of(ThatClass.
 	
 	<target name="compileTests" depends="compile, ensureTestDeps" description="Compiles test code">
         <mkdir dir="build/tests" />
-		<javac destdir="build/tests" source="1.5" target="1.5">
+		<javac destdir="build/tests" source="1.5" target="1.5" includeantruntime="false">
 			<src path="test" />
 			<classpath refid="test.path" />
 			<classpath>
@@ -150,6 +150,7 @@ and finally call CmdReader.of(ThatClass.
 			<classpath>
 				<pathelement path="build/prog" />
 				<pathelement path="build/tests" />
+                <pathelement location="/usr/share/java/hamcrest-core.jar" />
 			</classpath>
 			<batchtest>
 				<fileset dir="test">
