Fix call to mmap, so that it can be used on sparc.