fixed some showstppers for zlib, clang, apple
silenced a few warnings, more to come later
final ( I hope )  fix for zlib versions coexistence
no need to provide an included zlib
Fixed some (silenced others) clang warnings
more to analyze and fix for linux
added a left out for previous commit
Fixed gcc level detection,
tested on apple and centos 7, works for gcc and clang