Install swig before compiling. Disable default install task.