Change unordered_multimap to multimap and get rid of auto and ifdefs