fix for compile error with gcc3.4.5
fix for issue #75
remove zookeeper deps; makefile refactor