patchelf bzip test and fixes