[ELF] Fix typo that caused a test to fail on FreeBSD.