fix windows interrupt compile error