Added logic to selinux states to handle amazon linux.