log4cplus: added c++11 option

I added the option to build log4cplus using C++11 mode

Closes #24217.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>