Solaris does not have timeradd and timersub. Add solaris_support.c which provides emulated versions of them on Solaris.