mostly to handle build directives in 1.17.
This changeset is the OSS portion of the work to remove the raft storage and sync for Nomad Enterprise.