Removing default argument for friend function declaration and adding more link flags to PMRRR