Support LMDB in CMake build system