Make it compile on FreeBSD.