Use the preprocessor to detect whether hash_map is available.