[fix] Restrict 0.11.3+ changes to __APPLE__

Haven't been able to test this on Windows or Unix yet, and already know that it
crashes on Linux, so I'm going to block this on everything except OS X for now
so the other enhancements can be released.