[release,cmake] Set USE_MPI if we compile with MPI.