Fix bug with travis build.