Some platforms don't have the realpath command. (dm)
Move the "sockets not supported" warning into io_misc.c (from io_misc.h). (dm)