Fix package installations for travis.