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

This way we have a cleaner setup script for our in-house application.