Fix compilation after patching.