Add logic to get real host name on Windows