remove macro definition WITHOUT_BOOST_LOG

add linking dependencies, few fixes