os_unix: improve import support for ARM ELF