add some constants for freebsd