fix building zlib from src, silence warning in gnulib

Change-Id: Ib7df27c98ac269ddd2c90ba81f96aabbb9c08ec1