tdb: add TDB_DEPS variable filled with required libraries