Fixes function protos when WANT_XML and WANT_ZLIB are not set