fix mmap in windows

fix mmap in windows