Allow DIST_NAME and DIST_REL to be set as environment variables.