Fix travis CI build

Currently there are some errors.