remove const-qualified types in VarInfo struct to allow compilation.