Fix compile error in live test for FreeBSD