fix msvc builds