Code Modifying

Adopt to Mupdf 1.3 API.
Modified the makefile files.