Build on Java 6.