removed dep on log4cpp
handling of automatic install of deps
fixed automatic install of deps