refresh emulation, libk2pdfopt without mupdf linking

See the commit descriptions.