Makefile and .cabal for mmap