fixed log4cxx linker issue