Updated project properties to target version 18