use correct hostname on Windows