Fixed the failing friend test on linux.