Fixed PDF generation on travis