fix up Ubuntu compilation to use LMDB