Solve build error on travis