introduce system detection for windows