Another tweak to mpi.m4 to get rid of an "underquoted definition" warning.
The configure script normally uses pkg-config to get the header and library info for compiling GLib. MinGW doesn't have pkg-config though, so a workaround has been added here to check for the presence of GLib on systems without pkg-config.