Change how dependencies are fetched

Review 1120 and 1155 by @Tryneus
Fix re2 install-include rule

Review 1158 by @neumino
Merge branch 'next' into sam_alt