Don't indirectly link dependent libraries.