Use h5c++ to detect proper LDFLAGS to use hdf5 libs