also added ZLIB flags to local libhpdf