Fix compile in grails 2.4
Merge pull request #20 from AlexKovynev/patch-1

Fix compile in grails 2.4