zlibstatic fixes

Building with cmake 3.0.2 zlibstatic spews out a warning that the project command has changed and that the old behavior is still used. zlibstatic is also not installed.

 I silenced the warning and added a install command.