fix error for building from travis