adding herachical logger & bug fix
use libtool