fix compilation with log4cxx