Make ppc functions work inside gsim