Hide zookeeper dpendent code when compiled with standalone mode

refs #616