Restore BSD conditional fix

This change was bundled with another, and was subsequently lost when
permissions changes commit was reverted. See
https://github.com/cfengine/core/pull/1593