Fixed windows detection by excluding "Darwin" which is Mac OSX identifier

Mac identifies as "Darwin" so on Mac it incorrectly goes down the windows path which then tosses out some exceptions. Fixes #2