Add build program to maintenance branch

Handles downloading and vendoring on its own accord; adapted from the
README and streamlined a tiny bit.