Compile on FreeBSD. Doesn't link yet.