msvc compile fix