fixed dependencies on db.h #869
Merge branch 'bugfixes/tokumx-1.3'