Fixed SWIG version determination