Fix host error in websRedirect for Windows.

In visual studio,  x ? : y will cause building fail although it's concise in linux.
Merge pull request #104 from Eric--Zhou/master

Fix host error in websRedirect for Windows.