Fix issues in error formatting in escript.build