Support embedding leveldb library, support Windows platform.