Simplified OS version check and fixed bug that incorrectly identified "10.10.1" as "10.1."