Use Boost.Locale instead of codecvt as g++ does not support it now.