Custom build tool for chi- packages