modified how library dependencies are forwarded