move neededTables assignment to right place; fixes test_dlfcn_unique_sig