Fix os detection rspec

no more window