Fix streamline mapping code after C++11 changes