Fixed some problems with pom and dependencies