Forked from NixOS's patchelf, with additional features.