[BUG #7997] add Windows support