build on JDK 6