tweak for msvc