Added windows compatibility... maybe

removed references to mmap (and munmap), and memmem. hopefully should be mingw compatible.