Fix build error on travis