relax check to allow for attributes (fix buildbot for elf-ppc64)