GROOVY-6462: Difference between @Grab behavior during compilation and at runtime