[travis] Fix swig directory error.