[RFC] Fix setting up prebuilt dependencies.

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