added patched so hdf5 can build multi-threaded mpi