TS-1689: fix wccp compile under OmniOS/gcc-4.7

Solaris (Illumos?) considers SIOCGIFCONF obsolete, unless BSD
compatibility is required.

Also, # include <string.h> to declare strerror_r()
TS-1688: Fix compile under OmniOS/gcc-4.7

include string.h to declare strlen()