Fix build on GCC-based systems:
cc1plus: error: unrecognized command line option "-std=gnu++11"
Approved by: portmgr (tier-2 blanket)