Use insert instead of emplace.

This fixes compilation on GCC 4.6 (std::map::emplace is implemented in
4.8).