Change compilation options and jars to support Java 1.6.