Build for Java 6 compatibility