Update to pom.xml that prevents compile errors