Include sys/select.h to fix build on MinGW environment
Minor fix