Collect environment information for reporting issues.
Run this function when reporting issues on Github.