Fix build on FreeBSD (there's no std::_Exit)