modify string element type to char16_t and some fixes for gcc.
Merge pull request #20 from rydotyosh/modStringTypeForGCC_PR

modify string element type to char16_t and some fixes for gcc.