How to fix ELF header issue on linux