Add mut modifiers to FFI calls.