Conditionally include sys/sysctl.h
Update osx/config.h for configure.ac changes