fixes
updates on lmdb driver
compile on Linux AMI