Fix compile in grails 2.4