makefile modified for hdf5