valueToString fix for WINCE

str.imbue and std::locale::classic() are not supported on WINCE