zlib: consume config options

Signed-off-by: Cristian Stoica <crististm@gmail.com>