Updated hash map definitions to try to use unordered_map if available and fall back to hash_map or map. Now done more cleanly using autoconf detection.