avoid instantiating function type with native by value in static horner. Fix #383