Fixed library dependencies.