Fix compilation with MuPDF v1.6 and Qt v5.4.0.