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.
Merge pull request #958 from cduclos/qdbm-tokyo-fix

Fix for building on HPUX