Fix Travis CI build issues.