improved replace_use_mpi_with_include_mpif_dot_h.pl and improved "use mpi" usage to make it work