In order to actually use LMDB_LIBDIR, library_dirs have to be set to
extra_library_dirs.
Merge pull request #49 from bra-fsn/master

Make LMDB_LIBDIR working