Fix build error in travis