fix a build error on travis