In order to actually use LMDB_LIBDIR, library_dirs have to be set to
extra_library_dirs.