GCC now does not allow assigning an std::locale to an std::string. No idea why it worked originally. Also fixed compilation with full NLS. Signed-off-by: Rosen Penev <rosenp@gmail.com>