Fix os version check in installhistory