Changing mmap into runtime option