update build system to allow single build