s3:build: build the tdb tools only when using the internal libtdb