Patch _unsafe.rs only on OS X.