Add some build infra which is ripped off from armon