Set -std=c++?? based on testing the compiler.