Fix bundled libelf on Darwin.