Fix compilation without memory manager.

configure example: ./configure --enable-manager=no
Merge pull request #406 from 4144/memmamanger

Fix compilation without memory manager.
into mapindex add variable with default map and position.
share mapindex in char server.