Updated ChemEquation.cpp with changes that were lost in porting from MSVC