Add check for MAC (darwin)