Cmake package fix

There are two fixes in this PR:

* Removed redundant szlib package (this should not effect any live code outside of changes made in commit)
* Fixed a small bug in cmake_package which was breaking it on OS X