libc: Use unsigned for wchar_t, not char.
libc: Added stdlib.h and inttypes.h.