remove platform attribute, use Chef::Platform.windows? method