Add elf_core.c into the EXTRA_SOURCES for the static library