Fixed building of deps and Travis CI.