Changed code that used os.name to check for Darwin to check for iOS and Mac instead. (#82)