r26090: Make building tdb python bindings independent of use of external tdb.