Fix compilation in GCC 4.6.

So std::set::emplace isn't available in libstdc++ 4.6 either.  Bummer.