require libzip-devel on fedora
remove unnecessary libevent and inotify paths from cmake
add patch to fix random build failures with MAX()

This patch replaces the MAX() macro in zend-pack.cpp
with std:max. This patch is already part of hhvm master