libtorrent: use gcc, adding missing include sys/types.h