fix target java version for modernizer plugin