kernel breaks on Mac OSX, so disable it on __APPLE__