Only build deps as needed.
General cleanup. Fleshed out most of the build crate impl.