Remove mac specific code from Windows code path.