Add support for environment variable in the generated Makefile.