hostname workaround for windows