Fix top-level symbol table containing local vars.