Build fixes for GrailsCore tests