Possible fix to issue #451

On ELF based systems I now use only information from the ELF image to determine data and TLS sections.