Added Darwin check