Use uname command to detect Darwin platform
FIX for homebrew