Remove outdated includes of temp_tables

make check passes