Use std::hash:map when building against libstdc++ (and not libc++)

Change-Id: I7873d99e5982170551ba0ff7b4f383af5935c25b