fixed the windows check. the machine_spec is only set when the machine is created and i didnt realize