Fixing issue where errno does not exist on select.error