Fix Memchan patch for native build