Fix sys.path handling on Windows.