Fix an issue with creating static libraries containing a lot of .obj files when using the MSVC linker.