fixed small typo in travis ci script and fixed root installation for the external packages