When doing separate compile/link building, pass (.o/.a/.ao/.dylib/.obj) files to the linker command line.

This was already done for .lib files.