fn minimize_rpaths(rpaths: &[OsString]) -> Vec<OsString>