BF: need codecs in builder.py

I introduced this bug very recently.