update type.hpp

update type.hpp, std::tr1::unordered_map and std::tr1::unordered_set can be supported by default