fix the type of wchar_t on arm; support wchar_t varying with arch