Adjust the library dependencies.