build datanamix for cdh4 on both ubuntu and rhel