adjust linker invocation for msvc