Remove use of deprecated TR1 library.

The plan is to deprecate (and remove) Boost.TR1 now that C++11 is a reality, to that end this patch removes usage of Boost.TR1 and falls back to boost::unordered_map directly.