Make OSVersion as an injectable dependency