Merge branch 'fix-build-when-pdf-is-disabled' into 'master'

meson: Fix build when PDF backend is disabled

See merge request !269
14 jobs for master in 50 minutes and 18 seconds (queued for 2 seconds)