Fix GCC compil, An elaborated-type-specifier shall be used in a friend declaration for a class.