link pthread to wrap-mupdf

so that luajit can resolve pthread symbols in the namespace of mupdf.