fix #1

avoid include of sys/sysctl.h on SmartOS