Add environment hash functionality for CentOS, Ubuntu, and Darwin.