Refine the CMakeLists.txt for MPI gmxapi tests.