fixed python path handling on Windows