Fix standalone python compilation of nich and gp.