Win64 support

It appears that the z_stream type is not properly encoded for Win64. I think the following fixes it.