Work around changed c++11 std::string implementation