Fixed a build error.
Fixed .travis.yml.