Example of MPI compilation using cmake.