fix for GRAILS-10652 "Make a standard way to load Groovy extensions"