Revert change to detecting swig version.