add dependencies on libraries.