Fix windows build with unistd.h in Types.h.