It might be safer to just always do this and the check below as well, without the darwin/freebsd check. Other systems might be affected, or it might change in the future, you never know.