GCC defaults to C++14 since 6.0 which no longer converts istream to bool by default. Instead of fixing just downgrade to C++98. PR: 216036