Fix leveldb compilation with MSVC