Fix some mmap generating

See cmangos/issues#109

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>