As @lukexi reports here, strip --strip-unneeded doesn't work on OS X (and probably *BSD?). We should just disable library stripping on these platforms then.
Do not strip libraries on OS X (#1630)
Add comment to fix of #1630
Don't strip libraries on OS X.