Changes to CMake rules to better cooperate with other projects using FindZLIB and FindPNG including this project.