Instead of assuming OS X, how about guarding it with a `uname == 'Darwin'` check?