fix python linking