Refactor to use build_src.