Allow to change swig versions compiled

The SWIG_VERSION environment variablle allows to choose which swig
versions are tested. If it is not set, the default values are used.