use FrameworkVersion from environment
exclude unused libs from pack in Windows
update zlib version