build system: dump some environment variables into the output file

git-svn-id: http://acl2-books.googlecode.com/svn/trunk@2933 303c5b2c-9740-0410-b014-fd8f9db7be32