Fix yum installing different versions on Windows and Linux