updates for ubuntu12.04 and groovy