Modified CmakeLists.txt for MPI.