Fix Maverick log4cxx compiling