fallback to slower insert over emplace since gcc 4.7 on linux lacks it