Fix interruption of remote target on Windows.
Merge pull request #530 from gsmcmullin/windows-remote-interrupt

Fix interruption of remote target on Windows.