Improved OS Version Check