Fix redundant imports.
Add 'buildCompiler' to Distribution.Compiler.
Append $os and $arch to the names of cached setup exes.

Fixes #1226.