Modified CMake script and MyMap to be compatible with GCC 4.6.3 (no non static initializers).