Updates the build.xml to conditionally use Java 8 in the lab.