Fixed libz library config.
Merge pull request #3599 from alexandreos/master

Fixed libz library config.