Fix 5.7 msvc8 unbreak

Fixed broken compilation on MSVC8, and removed dependency on PlatformSDK >= 6.