Fix the OS version pattern replacements (again)