Better way to check for OSX