Properly verifying if its a mac os.