All it does is compare strings and shell out, should be written in something like Bash rather than C++.
Why not Go? ;)
Meanwhile, C++ runtime almost definitely is going to exist on most bootstrapping images, so it's a lot easier to justify its inclusion - the cost of the C++ is greatly amortized.