Add patch to handle WRITECOPY memory protection properly.