getting libxml2 with zlib support

Hey cocos2dx guys,

I would like to try enable zlib support in libxml2 for android.
currently the has HAVE_ZLIB_H is not defined in the config.h.

is there any way I can get zlib supported?
or some info on getting libXML2 recompiled for android?

thanks,
mochi