Resolve compilation problems with LMDB backend -- unit tests now crash