fix python build error