fix build failure on travis