Isn't #include <unordered_map> enough? If I am not wrong, compilation flags are set for C++11.