Include <sys/utsname.h> and correct struct type