Set target java version as 1.6.

Make sure the built JAR can work in Java 1.6.