fixing the build for newer version of groovy and git