fixing some compilation errors and cleaning up the poms a little