Add auto mode to lmdb that will fallback to embedded version if shared lmdb is too old or non-existent