Change wchar_t to Uint32 on OSX/Linux