(copied from MCT's old bugzilla) "flush" is part of the Fortran2003 standard. Add ability to detect support for it the build and then use it in m_ioutils.F90