Set HDF5 directory during install, and make sure XMDS_USR is always exported