Restructure build system to support a second parallelization frontend.