[win] fix for MSVC support