fix for POM to compile under Java 7