fixed compiling errors in file UniVar.h