update build system to use RcB2