Check in configure if selinux libraries are required in static version.