Cleanup unused external linkages
Add missing build dependency
Test debian package build in Travis-CI