Fix host error in websRedirect for windows

In visual studio,  x ? : y will cause building fail although it's concise in linux.