Removed a few dependencies on kernel32 functions.

3 files changed