fix for GRAILS-10633 "grails console fails to compile project (fails to run)"