tdb2: fix tools compilation.