Updated the pom to build code compliant with Java 5