Use LMOD_CMD so lmod does not need to be on PATH

The Lmod init scripts set an environment variable LMOD_CMD which gives the absolute path to the lmod executable.  Respecting LMOD_CMD eliminates the need to make lmod findable via PATH and makes testing a new lmod release easier.