lmdb: Better Makefile and smaller patchfile
Allow specifying different source directory name