enable leveldb by default on 5.7 or 5.8 snapshot