Fix if condition for mac