don't assume HAVE_MMAP on mingw builds

Fixes github issue #1108.
1 file changed