[RFC] Fix setting up prebuilt dependencies.

Test build is at https://travis-ci.org/fwalch/bot-ci/builds/42436559, still running, but looks like it works.
Ok