Fix for building on HPUX

The current HPUX machine has very little space, creating
both a tdb and a qdbm database for testing makes it run out
of space.