Fixing pom.xml & errors for Linux.