Changed LiveCastsMap::emplace(...) to LiveCastsMap::insert(...) because libstdc++ in gcc 4.7 and earlier  lacks emplace() methods in associative containers.