Improve handling of simultaneous rlibs and dylibs

The first commit improves error messages during linking, and the second commit improves error messages during crate-loading time.