Patch native.rs only on Mac OS X.