Fix typedefs not fixing string sizes (bug 6220).