Convert to StaticNativeMutex

It looks like this library feature is trying to disappear out from under
us:

https://github.com/rust-lang/rust/issues/19379

This will patch things up for now.