Fix compiling errors in RawStoreImp and DiskManager