some updates to bld_pygem and a few misc changes