Modify zlib recipe to work on non-windows systems

In order to test zlib compilation in CI, we need zlib recipe to
work properly.