Add library dependencies to Travis configuration.