Fix char16_t issue in a portable way.