Add library dependencies to travis.