[coreutils] Build selinux support

These patches are resurrected from git history.