FreeBSD stuff not compiling on Linux.