Fix MSVC linking