Fix patchelf RPM builds

http://hydra.nixos.org/build/17037187