Add unistd.h for non-Win32, direct.h for Win32 (http_lib.c)