Get this compiling again on FreeBSD