Check for zlib

In case when zlib is not installed, but compression is enabled, throw exception and quit, instead of doing long useless job with no results :)