Fix pom compile level and configurations