fix Python support under Windows