Fix build on gcc-based architectures:
configure: error: the c++ compiler appears to not support C++11.
Approved by: portmgr (tier-2 blanket)