Fixed build of shim.exe so that it doesn't require DLLs.

Added a requirement for Java 1.6 in build.xml.