Add build option to support modern C++.