Added handling of non-MSVC compilers without auto-linking support on Windows.