use zlib.gyp for zlib dependency instead of -lz flag

Instead of using a flag "-lz" I added a dependency zlib.gyp.
In the system, the user can easily miss zlib library. This is especially true for users of windows - where to install the package at all problematic.

This patch fixes this flaw.