fix c++ keyword friend related syntax campatibility problem.