make sure to only install rhdf5 if needed.