fix build error on travis