adaptations to work around compile static errors in some groovy version
adaptations to work around compile static errors in some groovy version

ssadedin/groovy-ngs-utils,ssadedin/groovy-ngs-utils,ssadedin/groovy-ngs-utils,ssadedin/groovy-ngs-utils