add checking for zlib development libraries to configure script