Revert "Compatible with homebrew-installed libelf"

This reverts commit 4f935529d6dc713c9f3ba04769175d63c01a2000.
Not check or include libelf in Mac OS