updates compiler settings in pom