fix hets-lib environment variable in hets.