Pass the version into the Compiler constructor, eliminate a type check
Decouple CompilerSelector from MacOS, clean up tests