Detect OSX.