Add check for supported OS

Hoping to fix issue #5, but so far untested
Merge pull request #6 from ViViDboarder/darwin-check

Add check for supported OS