Fix references to __ehdr_start when it cannot be defined