Added check for zlib extension installation
Merge pull request #2103 from Guite/1.4

Added check for zlib extension installation