Fix mprotect call in make_writable