Fix for #8 - fails to compile on Grails 2.4.x

Now compiles under Grails 2.4.x