a few MSVC specifc changes