Fix Python KGLib code to use latest source file