by slashrsm: Try to fix travis builds based on suggestion by @berdir.