hostname doesn't work for me on Windows

move hostname to UNIX progs