added 'typename' keyword before boost::unordered_map<>::iterator declarations