Added Windows as OS where is possible to execute hostname.

On Windows operanting systems is possible to execute in the command line, tested on Windows 7 and Windows 8.