added check for plain Darwin