fix osx sysctl test