Fixed cmake 3x cmp0048 warning
Also install zlibstatic