b4597218f0
Instead of using shell functions to get the windows system directory, use the kernel32 functions (GetSystemDirectory and GetSystemWow64Directory). Reduces a bit of unnecessary overhead.