update build scripts for rpm and mingw to support MPIIO package