Override the gethostname() declaration on native Windows systems.