Enable joint compilation for java and groovy