Fix build errors in pom.xml.