fixed makefile for hdf on brutus, other minor fixes