POM corrections and compile fixes