Make tuboflo compatible with FreeBSD