[release,cmake] Set USE_MPI if we compile with MPI.
(cherry picked from commit ff43b1ab0861150d8a421bd1dee2aaa3d75af045)

Signed-off-by: Markus Blatt <markus@dr-blatt.de>