msvc: make it work on MSVC again