Fix pom.xml for building with dependencies.