fixed build script on fedora

checking if abook is installed
missing compile flags for date parser
dependencies are checked with rpm -q pkg_name
added dependency check for bzip2-devel and zlib-devel