Use uname command to detect Darwin platform