Revert "fixed configure macros for DataSpaces and DIMES" because linking needs the MPI compiler, not CC

This reverts commit 3ecf58003d2a2212f114d5e8dd444df6b4ce8a68.