Properly export CMake-variables so that make install works for the MPI-backend.