fixing restart on native python under Windows (issue #212)