That I couldn't tell you, except to look for a newer version of your C++ standard library package or your toolchain as a whole.
It would be much easier for now to simply comment out that line and use 1 and 0 instead of the words true and false, though if these examples will continue to use the alpha member of cout, getting new libraries may be your only option.