Removed const in patternmap's unordered_map so it compiles on clang