[WIP] Automatic dependency rebuilding: Update paths in travis.sh

Update paths in `travis.sh` to work with automatic dependency builds on Travis (see neovim/bot-ci#8). The last commit is a quick fix for the problems in #1031 so that builds won't fail because of that.