doc: document the environment variables (fixes #8835)
contrib: force dataroot, include and lib directory as we want them

This overrides any autotools site configuration.