Support <sys/sysctl.h> in Darwin, FreeBSD9 and Linux