Refactor FAST_MPI preprocessor code