Merge from TRUNK. Fix for Sourceforge bug #1450260 where this will assert on MSVC with /MDd:
boost::format("%s") % std::string()