Split out uninstall logic, properly refer to hdf5 library (almost).