How about a click and drag system?
Single click: builds one item
While building stackable conveyor, click and drag upward: builds an additional stackable as your mouse travels over the center of each
While building foundation, click and drag in a direction: builds additional foundations in the direction of the mouse movement. For simplicity, will only build in the direction of the initial movement.