Simplify ELF test.