fix broken library dependencies