Fixes env-setup so it works on Arch linux

Python defaults to python3 in Arch linux, so the env-setup script was
failing since it's not parseable by python3.
This patch fixes env-setup so it can also work on Arch distributions.