update getlibs.sh for travis