Statically link against lmdb