Changes to pom to compile with new versions