issue on FreeBSD 4.x, whose <elf.h> does not define ELFMAG and SELFMAG. PR: 85120 Submitted by: Vasil Dimov <vd@datamax.bg>