adapt to zlib and harfbuzz build changes