Updated pom.xml to solve compilation problems