Fix clang error regarding friend declarations
Error was:
friend declaration specifying a default argument must be a definition
Fixed by adding declarations outside class with default values and
removing the default values from the friend declarations inside the
class.