Fix for OSX version detection. This was keeping "dark mode" from working correctly.