fixing a bug in the hdf lib installation