Try to prevent compile errors on Freebsd.