Fix Python hunting logic on Windows (fixes #137)