Updated the mac check.