port to win32-msvc