Fix UDA samples to work with Impala 1.x