Patch for NaCl build