Add a three-way build system.