Target Java 6 in template