Fix compilation of myfunctor