trying to resolve LMDB compilation probs