added hdf5 library support