backport SELINUX detection from .07 betas