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