Fix dependent libraries.