Fix Travis CI config to prevent build fail.