Generate the env to use, detect current OS/ARCH.

Do away with DragonFly support.