Exit with non-zero status when 'opam switch x' fails with 'not a
valid compiler name'.