A few compiler warning fixes and Zlib dependency removal

Hi, I moved Zlib dependency to libfalltergeist and made a few tiny changes.

See: https://github.com/alexeevdv/libfalltergeist/pull/2