Convert build system to non-recursive build.