Add MPI library code to compile.