fix groovy build (source compatibility 1.6)