Finalize the symbol table construction