Finishes build system refactor.