Rearrange the whole build system.