Use a cmake variable for zlib.

Reviewed by: Sergio Correia