Fix wide character typedefs