resolved python build regression and memset overflow bug.