Fix compilation on FreeBSD?