workaround for running with groovy 2.3.0-beta-1