pull request: https://github.com/MITK/MITK/pull/153
this fix works our fork since year 2014 and for std::string at the moment I don't know any better solution, possibly if this one will be merged I will add similar fixes to few other places.
Thank you.