[builder] fix bug in add_stream

Ugly, but temporary. It will change with the futur datastream classes.