Add support for poweroff on FreeBSD