change the pom in order to compile on Java 7