poco: support C++11 mode.

Closes #17750.