Fix build on gcc-based architectures:
cc1plus: error: unrecognized command line option "-std=c++1z"
Approved by: portmgr (tier-2 blanket)