A light implementation of the mmap functions for MinGW.