Fix typo and add more pre-install stuff for travis-ci.