changed invalid preprocessor #else and updated hash_map.patch