Make it work with both Geb 0.9 and 0.10