Drop -DTHREADSAFE in update scripts