Fix HAVE_ZLB which should be defined to 1
Fix include order which (if zlib is present) could cause protolib files to be present in the system paths instead of the local files