[#1530] sort dependencies, get travis to install swig