fixed some output buffering problems in bld_pygem