Switch pom to compile with jdk 1.7